package com.qys.livesMall.shop.modal.entity;

/**
 * @packageName:
 * @className:ReturnPurchaseDetails
 * @Description:
 * @author:guomx
 * @date:2023/6/1519:10
 */
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class ReturnPurchaseDetails {
    private Long id;

    private Long shopId;

    private String ShopName;

    private String userName;

    @Schema(description = "是否同意0未处理1不同意2同意")
    private Integer status;

    @Schema(description = "审批意见")
    private String opinion;

    @Schema(description = "处理人id")
    private Long handleUserId;

    @Schema(description = "处理人")
    private String handelUserName;

    /**
     * 店铺商品Id
     */
    private Long shopGoodsId;

    /**
     * 商品名称
     */
    private String goodsName;
    /**
     * 退货原因
     */
    private Integer returnReason;

    /**
     * 退货描述
     */
    private String reasonDesc;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    /**
     * 退货数量
     *
     */
    private Integer num;

    /**
     * 应退金额
     */
    private BigDecimal amount;

}

